package com.guit.hrms.service;

import com.guit.hrms.dto.UpdateOnboardingStatusDTO;
import com.guit.hrms.po.utilsPO.PageBean;
import com.guit.hrms.vo.UpdateOnboardingStatusVO;

import java.time.LocalDateTime;
import java.util.List;

public interface OnboardingService {

    /**
     * 获取待办理入职的信息
     *
     * @param page
     * @param pageSize
     * @param onboardingTime
     * @param onboardingPlace
     * @param status
     * @return
     */
    PageBean getOnboarding(Integer page, Integer pageSize, LocalDateTime onboardingTime, String onboardingPlace, Integer status);

    /**
     * 更新入职状态
     *
     * @param updateOnboardingStatusDTO 更新入职信息
     * @return 更新成功返回1，否则返回0
     */
    List<UpdateOnboardingStatusVO> updateOnboardingStatus(UpdateOnboardingStatusDTO updateOnboardingStatusDTO);
}
